package com.yx.system.entity;

import java.util.Date;

/**
 * banner
 */
public class TdBanner {

    private Integer id;

    /**
     * 图片地址
     */
    private String bannerpic;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 创建人
     */
    private String createuser;

    /**
     * 修改时间
     */
    private Date updatetime;

    /**
     * 修改人
     */
    private String updateuser;

    /**
     * 书籍ID
     */
    public int bookid;

    /**
     * 书籍名称
     */
    public String bookname;
    /*
    * 类型
    */
    public Integer bannerType;

    public Integer getBannerType() {
        return bannerType;
    }

    public void setBannerType(Integer bannerType) {
        this.bannerType = bannerType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBannerpic() {
        return bannerpic;
    }

    public void setBannerpic(String bannerpic) {
        this.bannerpic = bannerpic == null ? null : bannerpic.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCreateuser() {
        return createuser;
    }

    public void setCreateuser(String createuser) {
        this.createuser = createuser == null ? null : createuser.trim();
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser;
    }

    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }
}